package cn.dgut.Entity;

public class User {
    private int user_id;
    private String user_name;
    private String user_passwd;
    private String user_phone;
    private String user_email;
    private String user_img;

    public User() {
    }

    public User(int user_id, String user_name, String user_passwd, String user_phone, String user_email, String user_img) {
        this.user_id = user_id;
        this.user_name = user_name;
        this.user_passwd = user_passwd;
        this.user_phone = user_phone;
        this.user_email = user_email;
        this.user_img = user_img;
    }

    public String getUser_passwd() {
        return user_passwd;
    }

    public void setUser_passwd(String user_passwd) {
        this.user_passwd = user_passwd;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_phone() {
        return user_phone;
    }

    public void setUser_phone(String user_phone) {
        this.user_phone = user_phone;
    }

    public String getUser_email() {
        return user_email;
    }

    public void setUser_email(String user_email) {
        this.user_email = user_email;
    }

    public String getUser_img() {
        return user_img;
    }

    public void setUser_img(String user_img) {
        this.user_img = user_img;
    }

    @Override
    public String toString() {
        return "{" +
                "\"name1\":\"" + user_name  +
                "\",\"name2\":\"" + user_passwd  +
                "\",\"name3\":\"" + user_phone  +
                "\",\"name4\":\"" + user_email  +
                "\",\"name5\":\"" + user_img +
                "\"}";
    }
}
